<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Hugo 0.88.1">
    <title>影院售票票注册界面</title>

    <link rel="canonical" href="https://getbootstrap.com/docs/5.1/examples/sign-in/">



    <!-- 新 Bootstrap5 核心 CSS 文件 -->
    <link rel="stylesheet" th:href="@{/bootstrap-5.0.2-dist/css/bootstrap.css}" href="/bootstrap-5.0.2-dist/css/bootstrap.css">
    <link rel="stylesheet" th:href="@{/bootstrap-5.0.2-dist/login/signin.css}" href="/bootstrap-5.0.2-dist/css/bootstrap.css">

    <style>
        body {
            background: #4ea12a;
        }
        .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
            -webkit-user-select: none;
            -moz-user-select: none;
            user-select: none;
        }

        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }
    </style>

</head>
<body class="text-center">


<main class="form-signin">
    <h1 class="h3 mb-3 fw-normal">欢迎使用影院售票票注册系统</h1>
    <div th:if="${param.error}" style="color: red" th:text="#{login.error}">用户名或密码错误!</div>
    <form  class="form-container" action="/register-complete" method="post">

        <div class="form-floating">
            <input type="text" class="form-control" id="name" name="name" placeholder="请输入用户名">
            <label for="name">用户名</label>
        </div>
        <div class="form-floating">
            <input type="password" class="form-control" id="password" name="password" placeholder="请输入密码">
            <label for="password">密码</label>
        </div>

        <button class="w-100 btn btn-lg btn-primary" type="submit">登录</button>
        <p class="mt-5 mb-3 text-muted" >&copy;版权 <span>2024</span> </p>
    </form>
</main>



</body>
</html>
